import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    SideColor:"",
    rightbackground:"",
    backColor:"",
    TextColor:""
  },
  getters: {

  },
  mutations: {
    
    change(state,val){
      state.SideColor= val
      // console.log(val)
      console.log(state.SideColor);
    },
    change2(state,val){
      state.rightbackground= val
  
      console.log(state.rightbackground);
    },
    change3(state,val){
      state.backColor= val
      console.log(state.backColor);
    },
    change4(state,val){
      state.TextColor= val
      console.log(state.TextColor);
    }
  },
  actions: {
  },
  modules: {
  }
})
